package com.concerneyes.mine.model;

import com.concerneyes.health.model.HealthDataModel;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/7/24 0024.
 */

public class OrderListModel implements Serializable {
    /**
     * product : {"serialNumber":"C33H0001","refractiveList":[{"price":"0.00","id":8,"title":"1.56","productNo":"170620170417217"},{"price":"0.00","id":9,"title":"1.61","productNo":"170620170417217"},{"price":"160.00","id":10,"title":"依视路经典1.56","productNo":"170620170417217"}],"frameColors":"H,B","count":10,"remark":null,"updateTime":"2017-07-13 10:54:16","frameSex":"H","title":"aaaa","sortCode":"0001","colorList":[{"code":"H","name":"黑色","id":1},{"code":"B","name":"蓝色","id":2}],"cover":"/img/productNo/170620170417217_cover.png?timestamp=1499508360508","postage":"0.00","frameFactoryNumber":"01","frameSize":"54口23-140","frameFactoryCode":"3","createTime":"2017-06-20 17:04:28","price":"299.00","subtitle":"aaaa","categoryId":3,"productNo":"170620170417217","frameMaterial":"3","status":1,"imgList":[{"path":"/img/productNo/170620170417217_B_1.png?timestamp=1499506986044","color":"B","id":27,"sort":1},{"path":"/img/productNo/170620170417217_B_2.png?timestamp=1499508402684","color":"B","id":28,"sort":2},{"path":"/img/productNo/170620170417217_B_3.png?timestamp=1499508484950","color":"B","id":29,"sort":3},{"path":"/img/productNo/170620170417217_B_5.png?timestamp=1499508531646","color":"B","id":30,"sort":5}]}
     * orderNo : 20170724150433
     * address : null
     * eyeData : {"farLeftAxialView":"45","nearLeftCorrect":"0","nearRightPupillary":"0","nearRightDegree":"0","farLeftAstigmia":"55","uid":10004,"farRightPupillary":"30","nearRightAxialView":"0","farLeftDegree":"-6.25","isDoublePupillary":false,"from":"康爱斯","id":5,"nearRightCorrect":"0","farRightCorrect":"55","updateTime":"2017-07-18 10:37:32","farRightAxialView":"55","farRightDegree":"-10.00","nearLeftPupillary":"0","farLeftPupillary":"60","farRightAstigmia":"55","frameSize":"56口 16-135","nearLeftAstigmia":"0","createTime":"2017-07-18 10:26:23","dataTime":"2017-07-18 00:00:00","manId":4,"nearLeftAxialView":"0","nearRightAstigmia":"0","farLeftCorrect":"55","nearLeftDegree":"0"}
     * expressNo :
     * sum : null
     * remark : 测试
     * expressCom :
     * updateTime : 2017-07-24 17:14:57
     * title :
     * addressId : 4
     * uid : 10004
     * postage : 0
     * dataId : 5
     * glassMan : {"isUseComputer":false,"gender":"男","year":"2017","city":"","updateTime":"2017-07-19 17:05:45","driveFrequency":"0","uid":10004,"realName":"大家","month":"01","province":"","phone":"","createTime":"2017-07-19 17:05:45","id":14,"job":"","day":"01"}
     * createTime : 2017-07-24 15:04:21
     * price : 399.00
     * manId : 14
     * colorCode : B
     * id : 2
     * cancelRemark :
     * productNo : 170620170417217
     * refractiveId : 7
     * status : 2
     */

    private ProductBean product;
    private String orderNo;
    private Object address;
    private HealthDataModel eyeData;
    private String expressNo;
    private Object sum;
    private String remark;
    private String expressCom;
    private String updateTime;
    private String title;
    private int addressId;
    private int uid;
    private String postage;
    private int dataId;
    private GlassManBean glassMan;
    private String createTime;
    private String price;
    private int manId;
    private String colorCode;
    private int id;
    private String cancelRemark;
    private String productNo;
    private int refractiveId;
    private int status;

    public ProductBean getProduct() {
        return product;
    }

    public void setProduct(ProductBean product) {
        this.product = product;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Object getAddress() {
        return address;
    }

    public void setAddress(Object address) {
        this.address = address;
    }

    public HealthDataModel getEyeData() {
        return eyeData;
    }

    public void setEyeData(HealthDataModel eyeData) {
        this.eyeData = eyeData;
    }

    public String getExpressNo() {
        return expressNo;
    }

    public void setExpressNo(String expressNo) {
        this.expressNo = expressNo;
    }

    public Object getSum() {
        return sum;
    }

    public void setSum(Object sum) {
        this.sum = sum;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getExpressCom() {
        return expressCom;
    }

    public void setExpressCom(String expressCom) {
        this.expressCom = expressCom;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getAddressId() {
        return addressId;
    }

    public void setAddressId(int addressId) {
        this.addressId = addressId;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getPostage() {
        return postage;
    }

    public void setPostage(String postage) {
        this.postage = postage;
    }

    public int getDataId() {
        return dataId;
    }

    public void setDataId(int dataId) {
        this.dataId = dataId;
    }

    public GlassManBean getGlassMan() {
        return glassMan;
    }

    public void setGlassMan(GlassManBean glassMan) {
        this.glassMan = glassMan;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public int getManId() {
        return manId;
    }

    public void setManId(int manId) {
        this.manId = manId;
    }

    public String getColorCode() {
        return colorCode;
    }

    public void setColorCode(String colorCode) {
        this.colorCode = colorCode;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCancelRemark() {
        return cancelRemark;
    }

    public void setCancelRemark(String cancelRemark) {
        this.cancelRemark = cancelRemark;
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public int getRefractiveId() {
        return refractiveId;
    }

    public void setRefractiveId(int refractiveId) {
        this.refractiveId = refractiveId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public static class ProductBean {
        /**
         * serialNumber : C33H0001
         * refractiveList : [{"price":"0.00","id":8,"title":"1.56","productNo":"170620170417217"},{"price":"0.00","id":9,"title":"1.61","productNo":"170620170417217"},{"price":"160.00","id":10,"title":"依视路经典1.56","productNo":"170620170417217"}]
         * frameColors : H,B
         * count : 10
         * remark : null
         * updateTime : 2017-07-13 10:54:16
         * frameSex : H
         * title : aaaa
         * sortCode : 0001
         * colorList : [{"code":"H","name":"黑色","id":1},{"code":"B","name":"蓝色","id":2}]
         * cover : /img/productNo/170620170417217_cover.png?timestamp=1499508360508
         * postage : 0.00
         * frameFactoryNumber : 01
         * frameSize : 54口23-140
         * frameFactoryCode : 3
         * createTime : 2017-06-20 17:04:28
         * price : 299.00
         * subtitle : aaaa
         * categoryId : 3
         * productNo : 170620170417217
         * frameMaterial : 3
         * status : 1
         * imgList : [{"path":"/img/productNo/170620170417217_B_1.png?timestamp=1499506986044","color":"B","id":27,"sort":1},{"path":"/img/productNo/170620170417217_B_2.png?timestamp=1499508402684","color":"B","id":28,"sort":2},{"path":"/img/productNo/170620170417217_B_3.png?timestamp=1499508484950","color":"B","id":29,"sort":3},{"path":"/img/productNo/170620170417217_B_5.png?timestamp=1499508531646","color":"B","id":30,"sort":5}]
         */

        private String serialNumber;
        private String frameColors;
        private int count;
        private Object remark;
        private String updateTime;
        private String frameSex;
        private String title;
        private String sortCode;
        private String cover;
        private String postage;
        private String frameFactoryNumber;
        private String frameSize;
        private String frameFactoryCode;
        private String createTime;
        private String price;
        private String subtitle;
        private int categoryId;
        private String productNo;
        private String frameMaterial;
        private int status;
        private List<RefractiveListBean> refractiveList;
        private List<ColorListBean> colorList;
        private List<ImgListBean> imgList;

        public String getSerialNumber() {
            return serialNumber;
        }

        public void setSerialNumber(String serialNumber) {
            this.serialNumber = serialNumber;
        }

        public String getFrameColors() {
            return frameColors;
        }

        public void setFrameColors(String frameColors) {
            this.frameColors = frameColors;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public Object getRemark() {
            return remark;
        }

        public void setRemark(Object remark) {
            this.remark = remark;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getFrameSex() {
            return frameSex;
        }

        public void setFrameSex(String frameSex) {
            this.frameSex = frameSex;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getSortCode() {
            return sortCode;
        }

        public void setSortCode(String sortCode) {
            this.sortCode = sortCode;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getPostage() {
            return postage;
        }

        public void setPostage(String postage) {
            this.postage = postage;
        }

        public String getFrameFactoryNumber() {
            return frameFactoryNumber;
        }

        public void setFrameFactoryNumber(String frameFactoryNumber) {
            this.frameFactoryNumber = frameFactoryNumber;
        }

        public String getFrameSize() {
            return frameSize;
        }

        public void setFrameSize(String frameSize) {
            this.frameSize = frameSize;
        }

        public String getFrameFactoryCode() {
            return frameFactoryCode;
        }

        public void setFrameFactoryCode(String frameFactoryCode) {
            this.frameFactoryCode = frameFactoryCode;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getSubtitle() {
            return subtitle;
        }

        public void setSubtitle(String subtitle) {
            this.subtitle = subtitle;
        }

        public int getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(int categoryId) {
            this.categoryId = categoryId;
        }

        public String getProductNo() {
            return productNo;
        }

        public void setProductNo(String productNo) {
            this.productNo = productNo;
        }

        public String getFrameMaterial() {
            return frameMaterial;
        }

        public void setFrameMaterial(String frameMaterial) {
            this.frameMaterial = frameMaterial;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public List<RefractiveListBean> getRefractiveList() {
            return refractiveList;
        }

        public void setRefractiveList(List<RefractiveListBean> refractiveList) {
            this.refractiveList = refractiveList;
        }

        public List<ColorListBean> getColorList() {
            return colorList;
        }

        public void setColorList(List<ColorListBean> colorList) {
            this.colorList = colorList;
        }

        public List<ImgListBean> getImgList() {
            return imgList;
        }

        public void setImgList(List<ImgListBean> imgList) {
            this.imgList = imgList;
        }

        public static class RefractiveListBean {
            /**
             * price : 0.00
             * id : 8
             * title : 1.56
             * productNo : 170620170417217
             */

            private String price;
            private int id;
            private String title;
            private String productNo;

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getProductNo() {
                return productNo;
            }

            public void setProductNo(String productNo) {
                this.productNo = productNo;
            }

            @Override
            public String toString() {
                return "RefractiveListBean{" +
                        "price='" + price + '\'' +
                        ", id=" + id +
                        ", title='" + title + '\'' +
                        ", productNo='" + productNo + '\'' +
                        '}';
            }
        }

        public static class ColorListBean {
            /**
             * code : H
             * name : 黑色
             * id : 1
             */

            private String code;
            private String name;
            private int id;

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            @Override
            public String toString() {
                return "ColorListBean{" +
                        "code='" + code + '\'' +
                        ", name='" + name + '\'' +
                        ", id=" + id +
                        '}';
            }
        }

        public static class ImgListBean {
            /**
             * path : /img/productNo/170620170417217_B_1.png?timestamp=1499506986044
             * color : B
             * id : 27
             * sort : 1
             */

            private String path;
            private String color;
            private int id;
            private int sort;

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public String getColor() {
                return color;
            }

            public void setColor(String color) {
                this.color = color;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            @Override
            public String toString() {
                return "ImgListBean{" +
                        "path='" + path + '\'' +
                        ", color='" + color + '\'' +
                        ", id=" + id +
                        ", sort=" + sort +
                        '}';
            }
        }
    }


    public static class GlassManBean {
        /**
         * isUseComputer : false
         * gender : 男
         * year : 2017
         * city :
         * updateTime : 2017-07-19 17:05:45
         * driveFrequency : 0
         * uid : 10004
         * realName : 大家
         * month : 01
         * province :
         * phone :
         * createTime : 2017-07-19 17:05:45
         * id : 14
         * job :
         * day : 01
         */

        private boolean isUseComputer;
        private String gender;
        private String year;
        private String city;
        private String updateTime;
        private String driveFrequency;
        private int uid;
        private String realName;
        private String month;
        private String province;
        private String phone;
        private String createTime;
        private int id;
        private String job;
        private String day;

        public boolean isIsUseComputer() {
            return isUseComputer;
        }

        public void setIsUseComputer(boolean isUseComputer) {
            this.isUseComputer = isUseComputer;
        }

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public String getYear() {
            return year;
        }

        public void setYear(String year) {
            this.year = year;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getDriveFrequency() {
            return driveFrequency;
        }

        public void setDriveFrequency(String driveFrequency) {
            this.driveFrequency = driveFrequency;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getRealName() {
            return realName;
        }

        public void setRealName(String realName) {
            this.realName = realName;
        }

        public String getMonth() {
            return month;
        }

        public void setMonth(String month) {
            this.month = month;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getJob() {
            return job;
        }

        public void setJob(String job) {
            this.job = job;
        }

        public String getDay() {
            return day;
        }

        public void setDay(String day) {
            this.day = day;
        }

        @Override
        public String toString() {
            return "GlassManBean{" +
                    "isUseComputer=" + isUseComputer +
                    ", gender='" + gender + '\'' +
                    ", year='" + year + '\'' +
                    ", city='" + city + '\'' +
                    ", updateTime='" + updateTime + '\'' +
                    ", driveFrequency='" + driveFrequency + '\'' +
                    ", uid=" + uid +
                    ", realName='" + realName + '\'' +
                    ", month='" + month + '\'' +
                    ", province='" + province + '\'' +
                    ", phone='" + phone + '\'' +
                    ", createTime='" + createTime + '\'' +
                    ", id=" + id +
                    ", job='" + job + '\'' +
                    ", day='" + day + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "OrderListModel{" +
                "product=" + product +
                ", orderNo='" + orderNo + '\'' +
                ", address=" + address +
                ", eyeData=" + eyeData +
                ", expressNo='" + expressNo + '\'' +
                ", sum=" + sum +
                ", remark='" + remark + '\'' +
                ", expressCom='" + expressCom + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", title='" + title + '\'' +
                ", addressId=" + addressId +
                ", uid=" + uid +
                ", postage='" + postage + '\'' +
                ", dataId=" + dataId +
                ", glassMan=" + glassMan +
                ", createTime='" + createTime + '\'' +
                ", price='" + price + '\'' +
                ", manId=" + manId +
                ", colorCode='" + colorCode + '\'' +
                ", id=" + id +
                ", cancelRemark='" + cancelRemark + '\'' +
                ", productNo='" + productNo + '\'' +
                ", refractiveId=" + refractiveId +
                ", status=" + status +
                '}';
    }
}
